#ifndef __RTMACRO__
#define __RTMACRO__

#define RTSAFE_DELETE( data )	\
	if( data )	\
	{	\
		delete data;	\
		data = NULL;	\
	}	\

#define RTSAFE_DELETE_ARRAY( array_data )	\
	if( array_data )	\
	{	\
		delete []array_data;	\
		array_data = NULL;		\
	}	\

#define RTSAFE_RELEASE( data )	\
	if( data )	\
	{	\
		data->Release();	\
	}	\


#endif